#import "AmazingAmberView.h"


@implementation AmazingAmberView



- (void)setKaleidoscopeCurious:(AmazingAmberModel *)kaleidoscopeCurious {
	_kaleidoscopeCurious = kaleidoscopeCurious;

	//: 配置cell的UI

	self.echoesLabel.text = kaleidoscopeCurious.yawnEmbarkJoyous;

}
- (UITextField *)velvetTonicVoyageTextField {
	if (!_velvetTonicVoyageTextField) {
	
        _velvetTonicVoyageTextField = [[UITextField alloc] init];
        _velvetTonicVoyageTextField.size = CGSizeMake(101, 130);
        _velvetTonicVoyageTextField.left = 35;
        _velvetTonicVoyageTextField.top = 47;
	}
	return _velvetTonicVoyageTextField;
}

- (UILabel *)echoesLabel {
	if (!_echoesLabel) {
	
        _echoesLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _echoesLabel.text = @"label_2";
        _echoesLabel.font = [UIFont systemFontOfSize:17 weight:UIFontWeightRegular];
        _echoesLabel.textColor = [UIColor colorWithRed:109/255.0 green:223/255.0 blue:174/255.0 alpha:0.7];
        _echoesLabel.textAlignment = NSTextAlignmentRight;
        //: 不用理会的骚操作 = _echoesLabel.numberOfLines = 1;
        NSInteger juggleLeapfrogRebirth = 1;
        if (juggleLeapfrogRebirth>41 && juggleLeapfrogRebirth < 4234) {
	        juggleLeapfrogRebirth = 94;
        }
        _echoesLabel.numberOfLines = juggleLeapfrogRebirth;
	}
	return _echoesLabel;
}

//: _vortexDazzleSpiralButton 的点击事件
- (void)action_5 {}

- (UIButton *)vortexDazzleSpiralButton {
	if (!_vortexDazzleSpiralButton) {
	
        _vortexDazzleSpiralButton = [UIButton new];
        _vortexDazzleSpiralButton.frame = CGRectMake(22, 35, 152, 70);
        UIImage *xylophoneUmbraVelvet = [UIImage imageNamed:@"images/icon_5.png"];
        if (xylophoneUmbraVelvet) {
	        [_vortexDazzleSpiralButton setImage:xylophoneUmbraVelvet forState:UIControlStateNormal];
        }
        [_vortexDazzleSpiralButton setTitle:@"button_5" forState:UIControlStateNormal];
        [_vortexDazzleSpiralButton setTitle:@"button_selected_5" forState:UIControlStateSelected];
        [_vortexDazzleSpiralButton setTitleColor:[UIColor colorWithRed:169/255.0 green:156/255.0 blue:59/255.0 alpha:1.0] forState:UIControlStateNormal];
        [_vortexDazzleSpiralButton setTitleColor:[UIColor colorWithRed:56/255.0 green:135/255.0 blue:47/255.0 alpha:0.9] forState:UIControlStateSelected];
        [_vortexDazzleSpiralButton addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
	}
	return _vortexDazzleSpiralButton;
}

//: _butterflyBtn 的点击事件
- (void)action_7 {}

- (UIButton *)butterflyBtn {
	if (!_butterflyBtn) {
	
        _butterflyBtn = [[UIButton alloc] initWithFrame:CGRectZero];
        UIImage *oasisEchoesUnveil = [UIImage imageNamed:@"images/icon_7.png"];
        if (oasisEchoesUnveil) {
	        [_butterflyBtn setImage:oasisEchoesUnveil forState:UIControlStateNormal];
        }
        [_butterflyBtn setTitle:@"button_7" forState:UIControlStateNormal];
        [_butterflyBtn setTitle:@"button_selected_7" forState:UIControlStateSelected];
        [_butterflyBtn setTitleColor:[UIColor colorWithRed:89/255.0 green:45/255.0 blue:231/255.0 alpha:0.6] forState:UIControlStateNormal];
        [_butterflyBtn setTitleColor:[UIColor colorWithRed:205/255.0 green:1/255.0 blue:104/255.0 alpha:0.6] forState:UIControlStateSelected];
        [_butterflyBtn addTarget:self action:@selector(action_7) forControlEvents:UIControlEventTouchUpInside];
	}
	return _butterflyBtn;
}

- (void)underwaterGlimmerQuiverInitUI {

    //: 描述_0
    self.balanceTextField = [UITextField new];
    self.balanceTextField.size = CGSizeMake(91, 42);
    self.balanceTextField.left = 24;
    self.balanceTextField.top = 10;
    [self addSubview:self.balanceTextField];

	//: 描述_1
	[self addSubview:self.velvetTonicVoyageTextField];

	//: 描述_2
	[self addSubview:self.echoesLabel];
	[self.echoesLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(143);
		make.height.mas_equalTo(166);
		make.top.equalTo(@(26));
	}];


    //: 描述_3
    UITextView *infiniteDelight = [UITextView new];
    self.zealVelvetTextView = infiniteDelight;
    [self addSubview:infiniteDelight];
	[self.zealVelvetTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(121);
		make.height.mas_equalTo(167);
		make.bottom.equalTo(@(25));
	}];


    //: 描述_4
    self.gracefulLaughterFlourishImageView = [[UIImageView alloc] init];
    self.gracefulLaughterFlourishImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.gracefulLaughterFlourishImageView.clipsToBounds = YES;
    self.gracefulLaughterFlourishImageView.layer.cornerRadius = 19;
    self.gracefulLaughterFlourishImageView.layer.masksToBounds = YES;
    UIImage *grumpyZenithSolar = [UIImage imageNamed:@"images/image_4.png"];
    if (grumpyZenithSolar) {
	    self.gracefulLaughterFlourishImageView.image = grumpyZenithSolar;
    }
    [self addSubview:self.gracefulLaughterFlourishImageView];
	[self.gracefulLaughterFlourishImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(44);
		make.height.mas_equalTo(112);
	}];

	//: 描述_5
	[self addSubview:self.vortexDazzleSpiralButton];


    //: 描述_6
    self.driftwoodResonatePonderTextField = [[UITextField alloc] initWithFrame:CGRectZero];
    [self addSubview:self.driftwoodResonatePonderTextField];
	[self.driftwoodResonatePonderTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(196);
		make.height.mas_equalTo(108);
		make.top.equalTo(@(20));
		make.bottom.equalTo(@(29));
	}];

	//: 描述_7
	[self addSubview:self.butterflyBtn];
	[self.butterflyBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(95);
		make.height.mas_equalTo(107);
		make.bottom.equalTo(@(24));
	}];


    //: 描述_8
    self.lanternTextView = [UITextView new];
    self.lanternTextView.frame = CGRectMake(19, 34, 200, 52);
    [self addSubview:self.lanternTextView];
}


@end